package edu.xhu.api.behavior.fallback;

import edu.xhu.api.behavior.BehaviorClient;
import edu.xhu.model.behavior.dto.AddCommentDto;
import edu.xhu.model.behavior.dto.RootCommentDto;
import edu.xhu.model.behavior.dto.SonCommentDto;
import edu.xhu.model.behavior.pojos.BiliUserChatDetail;
import edu.xhu.model.common.dtos.ResponseResult;
import edu.xhu.model.common.enums.AppHttpCodeEnum;
import org.springframework.stereotype.Component;

@Component
public class BehaviorClientFallback implements BehaviorClient {

    @Override
    public ResponseResult<?> queryRootCommentsByVideoIds(RootCommentDto rootCommentDto) {
        return ResponseResult.errorResult(AppHttpCodeEnum.DATA_NOT_EXIST);
    }

    @Override
    public ResponseResult<?> queryRootCommentIdsByVideoId(RootCommentDto rootCommentDto) {
        return ResponseResult.errorResult(AppHttpCodeEnum.DATA_NOT_EXIST);
    }

    @Override
    public ResponseResult<?> queryRootCommentsByCommentIds(RootCommentDto rootCommentDto) {
        return ResponseResult.errorResult(AppHttpCodeEnum.DATA_NOT_EXIST);
    }

    @Override
    public ResponseResult<?> querySonCommentsByRootIds(SonCommentDto sonCommentDto) {
        return ResponseResult.errorResult(AppHttpCodeEnum.DATA_NOT_EXIST);
    }

    @Override
    public ResponseResult<?> addComment(AddCommentDto addCommentDto) {
        return ResponseResult.errorResult(AppHttpCodeEnum.SERVER_ERROR);
    }
}
